<?php
/**
 * Installation
 */
function rtou_install(){
	global $wpdb;
	$sql = "";
	$sql.="CREATE TABLE IF NOT EXISTS ".$wpdb->prefix ."rtou (".
				"id int(11) NOT NULL AUTO_INCREMENT,".
				"username varchar(64),".
				"registred tinyint(1),".
				"lastseen varchar(256),".
				"PRIMARY KEY (id)".
			");";
	$wpdb->query($sql);

}

/**
 * Delete plugin
 */
function rtou_uninstall(){
	global $wpdb;
	$sql="DROP TABLE IF EXISTS ".$wpdb->prefix ."rtou;";
	$wpdb->query($sql);
}

?>